<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class Dropio_Set</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class Dropio_Set</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
							<a href="#sec-descendents">Descendents</a>
			|													<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Dropio set is an internally used generic object used to return sets of data,  such as comments, assets, and subscriptions.</p>
		<p class="notes">
			Located in <a class="field" href="_Set.php.html">/Set.php</a> (line <span class="field">9</span>)
		</p>
		
				
		<pre></pre>
	
			</div>
</div>

	<a name="sec-descendents"></a>
	<div class="info-box">
		<div class="info-box-title">Direct descendents</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
			<span class="disabled">Descendents</span>
			|															<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
								</div>
		<div class="info-box-body">
			<table cellpadding="2" cellspacing="0" class="class-table">
				<tr>
					<th class="class-table-header">Class</th>
					<th class="class-table-header">Description</th>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../default/Dropio_Asset_Set.html">Dropio_Asset_Set</a></td>
					<td>
											Extended version of the generic Dropio_Set Object
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../default/Dropio_Asset_Comment_Set.html">Dropio_Asset_Comment_Set</a></td>
					<td>
											Extended version of the generic Dropio_Set Object
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../default/Dropio_Drop_Set.html">Dropio_Drop_Set</a></td>
					<td>
											Extended version of the generic Dropio_Set Object
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../default/Dropio_Drop_Subscription_Set.html">Dropio_Drop_Subscription_Set</a></td>
					<td>
											Extended version of the generic Dropio_Set Object
										</td>
				</tr>
							</table>
		</div>
	</div>



	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendents</a> |
												<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																																				
												<div class="method-definition">
											<span class="method-result">Dropio_Set</span>
										<a href="#__construct" title="details" class="method-name">__construct</a>
											([<span class="var-type"></span>&nbsp;<span class="var-name">$items</span> = <span class="var-default">null</span>], [<span class="var-type">integer</span>&nbsp;<span class="var-name">$count</span> = <span class="var-default">null</span>], [<span class="var-type">integer</span>&nbsp;<span class="var-name">$page</span> = <span class="var-default">null</span>], [<span class="var-type">integer</span>&nbsp;<span class="var-name">$per_page</span> = <span class="var-default">null</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$name_key</span> = <span class="var-default">null</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">integer</span>
										<a href="#getCount" title="details" class="method-name">getCount</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">integer</span>
										<a href="#getPage" title="details" class="method-name">getPage</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">integer</span>
										<a href="#getPerPage" title="details" class="method-name">getPerPage</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">integer</span>
										<a href="#getTotalCount" title="details" class="method-name">getTotalCount</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#__toString" title="details" class="method-name">__toString</a>
										()
									</div>
								</div>
		</div>
	</div>		

	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendents</a> |
																<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>

<a name="method__construct" id="__construct"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">Constructor __construct</span> (line <span class="line-number">22</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Creates the set from an array of items sent from the API.</p>
	
	<div class="method-signature">
		<span class="method-result">Dropio_Set</span>
		<span class="method-name">
			__construct
		</span>
					([<span class="var-type"></span>&nbsp;<span class="var-name">$items</span> = <span class="var-default">null</span>], [<span class="var-type">integer</span>&nbsp;<span class="var-name">$count</span> = <span class="var-default">null</span>], [<span class="var-type">integer</span>&nbsp;<span class="var-name">$page</span> = <span class="var-default">null</span>], [<span class="var-type">integer</span>&nbsp;<span class="var-name">$per_page</span> = <span class="var-default">null</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$name_key</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$items</span>			</li>
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$count</span>			</li>
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$page</span>			</li>
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$per_page</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$name_key</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetCount" id="getCount"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getCount</span> (line <span class="line-number">64</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Get the number of items in the current set.</p>
	
	<div class="method-signature">
		<span class="method-result">integer</span>
		<span class="method-name">
			getCount
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetPage" id="getPage"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getPage</span> (line <span class="line-number">43</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns the current page</p>
	
	<div class="method-signature">
		<span class="method-result">integer</span>
		<span class="method-name">
			getPage
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetPerPage" id="getPerPage"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getPerPage</span> (line <span class="line-number">74</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">How many items per page are returned in the current set.</p>
	
	<div class="method-signature">
		<span class="method-result">integer</span>
		<span class="method-name">
			getPerPage
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetTotalCount" id="getTotalCount"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getTotalCount</span> (line <span class="line-number">54</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns the total number of items.  This differs from the number of items  in the current set (-&gt;getCount())</p>
	
	<div class="method-signature">
		<span class="method-result">integer</span>
		<span class="method-name">
			getTotalCount
		</span>
				()
			</div>
	
		
			
	</div>
<a name="method__toString" id="__toString"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">__toString</span> (line <span class="line-number">84</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">If requested as a string, return the count in string form.</p>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			__toString
		</span>
				()
			</div>
	
		
			
	</div>
						
		</div>
	</div>


	<p class="notes" id="credit">
		Documentation generated on Thu, 17 Dec 2009 16:13:03 -0500 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.0a2</a>
	</p>
	</div></body>
</html>